package com.medical.manage.domain;

import com.medical.common.core.annotation.Excel;
import com.medical.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MedicalMedic extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 医师编号 */
    private Long id;

    /** 医院id */
    @Excel(name = "医院id")
    private Long hospitalId;

    /** 科室id */
    @Excel(name = "科室id")
    private String departmentIds;

    private Long userId;
    /** 医师等级 1普通 2主治 3主任 */
    @Excel(name = "医师等级 1普通 2主治 3主任")
    private Long rankOfPhysician;

    /** 医师姓名 */
    @Excel(name = "医师姓名")
    private String doctorName;

    /** 年限 */
    @Excel(name = "年限")
    private Long ageLimit;

    /** 医师资格证书 */
    @Excel(name = "医师资格证书")
    private String doctorsCertificate;

    /** 医师执业证书 */
    @Excel(name = "医师执业证书")
    private String medicalPracticeCertificate;

    /** 总收入金额 */
    @Excel(name = "总收入金额")
    private String grossincomeAmount;

    /** 是否问诊【0-开启问诊 1-关闭问诊】 */
    @Excel(name = "是否问诊【0-开启问诊 1-关闭问诊】")
    private Long status;

    /** 诊金 */
    @Excel(name = "诊金")
    private Long consultationFee;

    /**
     * 问诊次数
     */
    private Integer numConsultations;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setHospitalId(Long hospitalId)
    {
        this.hospitalId = hospitalId;
    }

    public Long getHospitalId()
    {
        return hospitalId;
    }
    public void setDepartmentIds(String departmentIds)
    {
        this.departmentIds = departmentIds;
    }

    public String getDepartmentIds()
    {
        return departmentIds;
    }

    public void setDoctorName(String doctorName)
    {
        this.doctorName = doctorName;
    }

    public String getDoctorName()
    {
        return doctorName;
    }
    public void setAgeLimit(Long ageLimit)
    {
        this.ageLimit = ageLimit;
    }

    public Long getAgeLimit()
    {
        return ageLimit;
    }
    public void setDoctorsCertificate(String doctorsCertificate)
    {
        this.doctorsCertificate = doctorsCertificate;
    }

    public String getDoctorsCertificate()
    {
        return doctorsCertificate;
    }
    public void setMedicalPracticeCertificate(String medicalPracticeCertificate)
    {
        this.medicalPracticeCertificate = medicalPracticeCertificate;
    }

    public String getMedicalPracticeCertificate()
    {
        return medicalPracticeCertificate;
    }
    public void setGrossincomeAmount(String grossincomeAmount)
    {
        this.grossincomeAmount = grossincomeAmount;
    }

    public String getGrossincomeAmount()
    {
        return grossincomeAmount;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }
    public void setConsultationFee(Long consultationFee)
    {
        this.consultationFee = consultationFee;
    }

    public Long getConsultationFee()
    {
        return consultationFee;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("hospitalId", getHospitalId())
                .append("departmentIds", getDepartmentIds())
                .append("doctorName", getDoctorName())
                .append("ageLimit", getAgeLimit())
                .append("doctorsCertificate", getDoctorsCertificate())
                .append("medicalPracticeCertificate", getMedicalPracticeCertificate())
                .append("grossincomeAmount", getGrossincomeAmount())
                .append("status", getStatus())
                .append("consultationFee", getConsultationFee())
                .toString();
    }

}
